Skip to contentSkip to conversation

Specified SDKMACHINE value is not valid

DISCUSSION jchludzinski 3 participants 10 messages Apr 4, 2022 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not practical platform for this purpose but it should work.

I'm trying to target the ARM ISA for the image using yocto-3.4.2. I've tried simply using the default setting and end up with:

_ERROR: OE-core's config sanity checker detected a potential misconfiguration._
_ Either fix the cause of this error or at your own risk disable the checker (see sanity.conf)._
_ Following is the list of potential problems / advisories:_
_ _
_ Specified SDKMACHINE value is not valid_

I've tried editing ./conf/local.conf:

MACHINE ?= "qemuarm64"

#MACHINE ??= "qemux86-64"

But this accomplishes nothing. Needless to say, I'm a yacto/OE newbie, so any suggestions would be greatly appreciated.

---John

#1 lore raw
Quoted 13 lines · jchludzinski via lists.yoctoproject.org

I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not practical platform for this purpose but it should work.

I'm trying to target the ARM ISA for the image using yocto-3.4.2. I've tried simply using the default setting and end up with:

*ERROR: OE-core's config sanity checker detected a potential misconfiguration.*
* Either fix the cause of this error or at your own risk disable the
checker (see sanity.conf).*
* Following is the list of potential problems / advisories:*

Quoted 9 lines

* Specified SDKMACHINE value is not valid*

I've tried editing ./conf/local.conf:

MACHINE ?= "qemuarm64"

#MACHINE ??= "qemux86-64"

It’s complaining about SDKMACHINE setting which is a separate variable, can you check your local.conf if it’s set to something

Quoted 17 lines

But this accomplishes nothing. Needless to say, I'm a yacto/OE newbie, so any suggestions would be greatly appreciated.

---John

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#56614):
https://lists.yoctoproject.org/g/yocto/message/56614
Mute This Topic: https://lists.yoctoproject.org/mt/90188098/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

But obviously commented out.

Quoted 59 lines · jchludzinski via lists.yoctoproject.org

There's this:
#SDKMACHINE ?= "i686"

---John

Quoted 30 lines · Khem Raj
Quoted 17 lines · On Fri, Apr 1, 2022 at 1:09 PM jchludzinski via lists.yoctoproject.org [1 [1]]…

I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not practical platform for this
purpose but it should work.

I'm trying to target the ARM ISA for the image using yocto-3.4.2. I've tried simply using the default setting and end up with:

_ERROR: OE-core's config sanity checker detected a potential misconfiguration._
_ Either fix the cause of this error or at your own risk
disable
the checker (see sanity.conf)._
_ Following is the list of potential problems / advisories:_
_ _
_ Specified SDKMACHINE value is not valid_

Quoted 5 lines

I've tried editing ./conf/local.conf:

MACHINE ?= "qemuarm64"

#MACHINE ??= "qemux86-64"

It's complaining about SDKMACHINE setting which is a separate variable, can you check your local.conf if it's set to something

Quoted 8 lines
Quoted 4 lines

But this accomplishes nothing. Needless to say, I'm a yacto/OE newbie, so any suggestions would be greatly appreciated.

---John

Links:
------
[1] http://lists.yoctoproject.org

Links:
------
[1] http://lists.yoctoproject.org

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56616): https://lists.yoctoproject.org/g/yocto/message/56616
Mute This Topic: https://lists.yoctoproject.org/mt/90188098/5071304
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw
Quoted 6 lines · jchludzinski

But obviously commented out.

Quoted 2 lines · jchludzinski via lists.yoctoproject.org

There's this:
#SDKMACHINE ?= "i686"

OK it should be ok then. Can you describe your steps to setup the system? maybe there is some caveat

Quoted 58 lines
Quoted 58 lines

---John

Quoted 30 lines · Khem Raj
Quoted 17 lines · On Fri, Apr 1, 2022 at 1:09 PM jchludzinski via lists.yoctoproject.org [1 [1]]…

I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not practical platform for this
purpose but it should work.

I'm trying to target the ARM ISA for the image using yocto-3.4.2. I've tried simply using the default setting and end up with:

_ERROR: OE-core's config sanity checker detected a potential misconfiguration._
_ Either fix the cause of this error or at your own risk
disable
the checker (see sanity.conf)._
_ Following is the list of potential problems / advisories:_
_ _
_ Specified SDKMACHINE value is not valid_

Quoted 5 lines

I've tried editing ./conf/local.conf:

MACHINE ?= "qemuarm64"

#MACHINE ??= "qemux86-64"

It's complaining about SDKMACHINE setting which is a separate variable, can you check your local.conf if it's set to something

Quoted 8 lines
Quoted 4 lines

But this accomplishes nothing. Needless to say, I'm a yacto/OE newbie, so any suggestions would be greatly appreciated.

---John

Links:
------
[1] http://lists.yoctoproject.org

Links:
------
[1] http://lists.yoctoproject.org

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#56616):
https://lists.yoctoproject.org/g/yocto/message/56616
Mute This Topic: https://lists.yoctoproject.org/mt/90188098/5071304
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw
$ git clone git://git.yoctoproject.org/poky.git
$ cd ./poky
$ git checkout yocto-3.4.2
$ cd ..
$ source ./poky/oe-init-build-env
$ cd ./build
$ time bitbake core-image-minimal
...
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the 
checker (see sanity.conf).
    Following is the list of potential problems / advisories:

Specified SDKMACHINE value is not valid

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

________________________________________________________

Executed in    3.92 secs    fish           external
   usr time    1.07 secs    9.77 millis    1.06 secs
   sys time    0.18 secs    2.96 millis    0.17 secs
Quoted 5 lines · Khem Raj

On Fri, Apr 1, 2022 at 2:02 PM jchludzinski <[email protected]> wrote:
But obviously commented out.

On 2022-04-01 16:43, jchludzinski via lists.yoctoproject.org wrote: There's this:
#SDKMACHINE ?= "i686"

OK it should be ok then. Can you describe your steps to setup the system? maybe there is some caveat

Quoted 33 lines

---John

On 2022-04-01 16:22, Khem Raj wrote:

On Fri, Apr 1, 2022 at 1:09 PM jchludzinski via lists.yoctoproject.org
[1 [1]] <[email protected]> wrote:

I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not practical platform for this
purpose but it should work.

I'm trying to target the ARM ISA for the image using yocto-3.4.2. I've tried simply using the default setting and end up with:

_ERROR: OE-core's config sanity checker detected a potential misconfiguration._
_ Either fix the cause of this error or at your own risk
disable
the checker (see sanity.conf)._
_ Following is the list of potential problems / advisories:_
_ _
_ Specified SDKMACHINE value is not valid_

I've tried editing ./conf/local.conf:

MACHINE ?= "qemuarm64"

#MACHINE ??= "qemux86-64"
It's complaining about SDKMACHINE setting which is a separate variable, can you check your local.conf if it's set to something

Quoted 7 lines

But this accomplishes nothing. Needless to say, I'm a yacto/OE newbie, so any suggestions would be greatly appreciated.

---John
Links:
------
[1] http://lists.yoctoproject.org

Links:
------
[1] http://lists.yoctoproject.org

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56618): https://lists.yoctoproject.org/g/yocto/message/56618
Mute This Topic: https://lists.yoctoproject.org/mt/90188098/5071304
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw
Quoted 72 lines · jchludzinski
$ git clone git://git.yoctoproject.org/poky.git
$ cd ./poky
$ git checkout yocto-3.4.2
$ cd ..
$ source ./poky/oe-init-build-env
$ cd ./build
$ time bitbake core-image-minimal
...
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

Specified SDKMACHINE value is not valid

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

________________________________________________________

Executed in    3.92 secs    fish           external
   usr time    1.07 secs    9.77 millis    1.06 secs
   sys time    0.18 secs    2.96 millis    0.17 secs

On 2022-04-01 18:09, Khem Raj wrote:

On Fri, Apr 1, 2022 at 2:02 PM jchludzinski <[email protected]> wrote:

But obviously commented out.

On 2022-04-01 16:43, jchludzinski via lists.yoctoproject.org wrote:

There's this:
#SDKMACHINE ?= "i686"

OK it should be ok then. Can you describe your steps to setup the system? maybe there is some caveat

---John

On 2022-04-01 16:22, Khem Raj wrote:

On Fri, Apr 1, 2022 at 1:09 PM jchludzinski via lists.yoctoproject.org
[1 [1]] <[email protected]> wrote:

I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not practical platform for this
purpose but it should work.

I'm trying to target the ARM ISA for the image using yocto-3.4.2. I've tried simply using the default setting and end up with:

_ERROR: OE-core's config sanity checker detected a potential misconfiguration._
_ Either fix the cause of this error or at your own risk
disable
the checker (see sanity.conf)._
_ Following is the list of potential problems / advisories:_
_ _
_ Specified SDKMACHINE value is not valid_

I've tried editing ./conf/local.conf:

MACHINE ?= "qemuarm64"

Quoted 8 lines

#MACHINE ??= "qemux86-64"

It's complaining about SDKMACHINE setting which is a separate variable, can you check your local.conf if it's set to something

But this accomplishes nothing. Needless to say, I'm a yacto/OE newbie, so any suggestions would be greatly appreciated.

are you on a x86_64 host? Secondly try to uncomment SDKMACHINE setting in local.conf
and see if it helps. Also check if your default shell is bash or dash.

Quoted 25 lines

---John

Links:
------
[1] http://lists.yoctoproject.org

Links:
------
[1] http://lists.yoctoproject.org

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56618): https://lists.yoctoproject.org/g/yocto/message/56618
Mute This Topic: https://lists.yoctoproject.org/mt/90188098/5071304
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#7 lore raw

I’m actually trying this on an RP4 running Raspbian.

Quoted 112 lines · Khem Raj
Quoted 73 lines · jchludzinski
$ git clone git://git.yoctoproject.org/poky.git
$ cd ./poky
$ git checkout yocto-3.4.2
$ cd ..
$ source ./poky/oe-init-build-env
$ cd ./build
$ time bitbake core-image-minimal
...
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the 
checker (see sanity.conf).
    Following is the list of potential problems / advisories:

Specified SDKMACHINE value is not valid

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

________________________________________________________

Executed in    3.92 secs    fish           external
   usr time    1.07 secs    9.77 millis    1.06 secs
   sys time    0.18 secs    2.96 millis    0.17 secs

On 2022-04-01 18:09, Khem Raj wrote:

On Fri, Apr 1, 2022 at 2:02 PM jchludzinski <[email protected]> wrote:

But obviously commented out.

On 2022-04-01 16:43, jchludzinski via lists.yoctoproject.org wrote:

There's this:
#SDKMACHINE ?= "i686"

OK it should be ok then. Can you describe your steps to setup the system? maybe there is some caveat

---John

On 2022-04-01 16:22, Khem Raj wrote:

On Fri, Apr 1, 2022 at 1:09 PM jchludzinski via lists.yoctoproject.org
[1 [1]] <[email protected]> wrote:

I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not practical platform for this
purpose but it should work.

I'm trying to target the ARM ISA for the image using yocto-3.4.2. I've tried simply using the default setting and end up with:

_ERROR: OE-core's config sanity checker detected a potential misconfiguration._
_ Either fix the cause of this error or at your own risk
disable
the checker (see sanity.conf)._
_ Following is the list of potential problems / advisories:_
_ _
_ Specified SDKMACHINE value is not valid_

I've tried editing ./conf/local.conf:

MACHINE ?= "qemuarm64"

Quoted 8 lines

#MACHINE ??= "qemux86-64"

It's complaining about SDKMACHINE setting which is a separate variable, can you check your local.conf if it's set to something

But this accomplishes nothing. Needless to say, I'm a yacto/OE newbie, so any suggestions would be greatly appreciated.

are you on a x86_64 host? Secondly try to uncomment SDKMACHINE setting in local.conf
and see if it helps. Also check if your default shell is bash or dash.

Quoted 25 lines

---John

Links:
------
[1] http://lists.yoctoproject.org

Links:
------
[1] http://lists.yoctoproject.org

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56618): https://lists.yoctoproject.org/g/yocto/message/56618
Mute This Topic: https://lists.yoctoproject.org/mt/90188098/5071304
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 1 line
NULL
#8 lore raw

Is Raspian 32- or 64-bit? We don't suppose 32-bit arm SDKs.

As Khem said, set SDKMACHINE to i686 explicitly to avoid this. Note that compiling on a RPi4 is *very slow*.

Ross

Quoted 126 lines · jchludzinski via lists.yoctoproject.org

I’m actually trying this on an RP4 running Raspbian.

Quoted 85 lines · Khem Raj
Quoted 83 lines · jchludzinski
$ git clone git://git.yoctoproject.org/poky.git
$ cd ./poky
$ git checkout yocto-3.4.2
$ cd ..
$ source ./poky/oe-init-build-env
$ cd ./build
$ time bitbake core-image-minimal
...
ERROR:  OE-core's config sanity checker detected a potential
misconfiguration.
    Either fix the cause of this error or at your own risk disable the
checker (see sanity.conf).
    Following is the list of potential problems / advisories:

Specified SDKMACHINE value is not valid

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

________________________________________________________

Executed in    3.92 secs    fish           external
   usr time    1.07 secs    9.77 millis    1.06 secs
   sys time    0.18 secs    2.96 millis    0.17 secs

On 2022-04-01 18:09, Khem Raj wrote:

On Fri, Apr 1, 2022 at 2:02 PM jchludzinski <[email protected]> wrote:

But obviously commented out.

On 2022-04-01 16:43, jchludzinski via lists.yoctoproject.org wrote:

There's this:
#SDKMACHINE ?= "i686"

OK it should be ok then. Can you describe your steps to setup the system?
maybe there is some caveat

---John

On 2022-04-01 16:22, Khem Raj wrote:

On Fri, Apr 1, 2022 at 1:09 PM jchludzinski via lists.yoctoproject.org
[1 [1]] <[email protected]> wrote:

I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not practical platform for this
purpose but it should work.

I'm trying to target the ARM ISA for the image using yocto-3.4.2. I've tried simply using the default setting and end up with:

_ERROR: OE-core's config sanity checker detected a potential misconfiguration._
_ Either fix the cause of this error or at your own risk
disable
the checker (see sanity.conf)._
_ Following is the list of potential problems / advisories:_
_ _
_ Specified SDKMACHINE value is not valid_

I've tried editing ./conf/local.conf:

MACHINE ?= "qemuarm64"

#MACHINE ??= "qemux86-64"

It's complaining about SDKMACHINE setting which is a separate variable, can you check your local.conf if it's set to something

Quoted 25 lines
Quoted 2 lines

But this accomplishes nothing. Needless to say, I'm a yacto/OE newbie, so any suggestions would be greatly appreciated.

are you on a x86_64 host? Secondly try to uncomment SDKMACHINE setting in local.conf
and see if it helps. Also check if your default shell is bash or dash.

Quoted 18 lines

---John

Links:
------
[1] http://lists.yoctoproject.org

Links:
------
[1] http://lists.yoctoproject.org

--
NULL

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56644): https://lists.yoctoproject.org/g/yocto/message/56644
Mute This Topic: https://lists.yoctoproject.org/mt/90188098/1676615
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#9 lore raw
In reply to jchludzinski
Quoted 3 lines · jchludzinski

I’m actually trying this on an RP4 running Raspbian.

Oh I see. we do support aarch64 as build host, so if you are trying 64bit OS on rpi then it should work
although, rpi4 may not have enough muscle to build, perhaps using SSD with rpi4 might help a bit

So find out if rpi4 is running in 64bit mode if not then building on armv7 might have issues.

in anycase try setting SDKMACHINE = "i686" this should get you past this particular error, there might be more after it.

Fixed when x11 is not in DISTRO_FEATURES:

$ bitbake wxwidgets
ERROR: Nothing PROVIDES 'wxwidgets'
wxwidgets was skipped: missing required distro feature 'x11' (not in
DISTRO_FEATURES)
Quoted 122 lines · Khem Raj
Quoted 85 lines
Quoted 83 lines · jchludzinski
$ git clone git://git.yoctoproject.org/poky.git
$ cd ./poky
$ git checkout yocto-3.4.2
$ cd ..
$ source ./poky/oe-init-build-env
$ cd ./build
$ time bitbake core-image-minimal
...
ERROR:  OE-core's config sanity checker detected a potential
misconfiguration.
    Either fix the cause of this error or at your own risk disable the
checker (see sanity.conf).
    Following is the list of potential problems / advisories:

Specified SDKMACHINE value is not valid

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

________________________________________________________

Executed in    3.92 secs    fish           external
   usr time    1.07 secs    9.77 millis    1.06 secs
   sys time    0.18 secs    2.96 millis    0.17 secs

On 2022-04-01 18:09, Khem Raj wrote:

On Fri, Apr 1, 2022 at 2:02 PM jchludzinski <[email protected]> wrote:

But obviously commented out.

On 2022-04-01 16:43, jchludzinski via lists.yoctoproject.org wrote:

There's this:
#SDKMACHINE ?= "i686"

OK it should be ok then. Can you describe your steps to setup the system?
maybe there is some caveat

---John

On 2022-04-01 16:22, Khem Raj wrote:

On Fri, Apr 1, 2022 at 1:09 PM jchludzinski via lists.yoctoproject.org
[1 [1]] <[email protected]> wrote:

I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not practical platform for this
purpose but it should work.

I'm trying to target the ARM ISA for the image using yocto-3.4.2. I've tried simply using the default setting and end up with:

_ERROR: OE-core's config sanity checker detected a potential misconfiguration._
_ Either fix the cause of this error or at your own risk
disable
the checker (see sanity.conf)._
_ Following is the list of potential problems / advisories:_
_ _
_ Specified SDKMACHINE value is not valid_

I've tried editing ./conf/local.conf:

MACHINE ?= "qemuarm64"

#MACHINE ??= "qemux86-64"

It's complaining about SDKMACHINE setting which is a separate variable, can you check your local.conf if it's set to something

Quoted 33 lines
Quoted 2 lines

But this accomplishes nothing. Needless to say, I'm a yacto/OE newbie, so any suggestions would be greatly appreciated.

are you on a x86_64 host? Secondly try to uncomment SDKMACHINE setting in local.conf
and see if it helps. Also check if your default shell is bash or dash.

Quoted 26 lines

---John

Links:
------
[1] http://lists.yoctoproject.org

Links:
------
[1] http://lists.yoctoproject.org

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#56618):
https://lists.yoctoproject.org/g/yocto/message/56618
Mute This Topic: https://lists.yoctoproject.org/mt/90188098/5071304
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
NULL

#10 lore raw
In reply to Khem Raj

There's this:
#SDKMACHINE ?= "i686"

---John

Quoted 42 lines · Khem Raj
Quoted 15 lines · On Fri, Apr 1, 2022 at 1:09 PM jchludzinski via lists.yoctoproject.org [1 [1]]…

I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not practical platform for this purpose but it should work.

I'm trying to target the ARM ISA for the image using yocto-3.4.2. I've tried simply using the default setting and end up with:

_ERROR: OE-core's config sanity checker detected a potential misconfiguration._
_ Either fix the cause of this error or at your own risk disable
the checker (see sanity.conf)._
_ Following is the list of potential problems / advisories:_
_ _
_ Specified SDKMACHINE value is not valid_

Quoted 5 lines

I've tried editing ./conf/local.conf:

MACHINE ?= "qemuarm64"

#MACHINE ??= "qemux86-64"

It's complaining about SDKMACHINE setting which is a separate variable, can you check your local.conf if it's set to something

Quoted 14 lines

But this accomplishes nothing. Needless to say, I'm a yacto/OE newbie, so any suggestions would be greatly appreciated.

---John
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#56614):
https://lists.yoctoproject.org/g/yocto/message/56614
Mute This Topic: https://lists.yoctoproject.org/mt/90188098/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Quoted 3 lines

Links:
------
[1] http://lists.yoctoproject.org

Links:
------
[1] http://lists.yoctoproject.org